<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
     xmlns:h="http://java.sun.com/jsf/html"
     xmlns:f="http://java.sun.com/jsf/core"
     xmlns:ui="http://java.sun.com/jsf/facelets"
     xmlns:fmd="http://java.sun.com/xml/ns/javaee/faces/design-time-metadata"
     xmlns:cc="http://java.sun.com/jsf/composite">
<cc:interface
   name="inputtext"
   displayName="label plus text"
   expert="true"
   hidden="false"
   preferred="true">
    <cc:attribute name="label"  required="true" />
    <cc:attribute name="id"     required="true" />
    <cc:attribute name="value"  required="true" />
</cc:interface>
<cc:implementation>
    <h:outputLabel id="lbl_#{cc.attrs.id}" for="#{cc.attrs.id}"
                   value="#{cc.attrs.label}" />
    <h:inputText id="#{cc.attrs.id}" value="#{cc.attrs.value}" onclick="return false;" />
</cc:implementation>
</html>